package com.kevin.demo.service.user;

import com.kevin.demo.entity.user.User;
import com.kevin.demo.framwork.Result;
import com.kevin.demo.vo.input.user.UserFilters;


import java.util.List;

/**
 * @author: e20160504
 * @date: 2018/7/19
 * @desc
 */
public interface UserService {

    Result insert(User user);

    //Result inserBatch(List<User> users);

    Result delete(Object key);

    Result update(User obj);

    Result list(UserFilters filter);

    User selectByKey(Integer id);

}
